package com.woniu.micropropertyserver.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties({"mybatisLazyInitializer","handler"})
public class DeployTenement implements Serializable {
    private Long id;
    private String name;
    private String houseNum;
    private String item;
    private Integer cardType;
    private String cardId;
    private String phone;
    private Integer passerType;
    private Integer faceStatus;
    private Integer authorizeStatus;
    private Integer  passerId ;
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date authorizeStartDate;
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date  authorizeEndDate ;
}